<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<% boolean isOk = false; %>
	<form action = "admin_info.jsp" method = "post">
		 <input type = "submit" value = "返回">
	</form>
	<form action = "http://localhost:8083/Car_Pass_Count_System/SelectInfoServlet" method = "post">
		 车牌号：<input type = "text" name = "car_id"/>
		 <input type = "submit" value = "查询">
	</form>
	<c:if test = "${ isOk }">
		<table border = "3">
			<tr>
				<th> 车牌号 </th>
				<th> 进入时间 </th>
				<th> 离开时间 </th>
			</tr>
			<tr>
				<td>${ info.car_id }</td>
				<td>${ info.in_info }</td>
				<td>${ info.out_info }</td>
			</tr>
		</table>
	</c:if>	
</body>
</html>